Optimal. Leaf size=61 \[ -\frac {2 (2 b B-9 A c) \left (b x+c x^2\right )^{7/2}}{63 c^2 x^{7/2}}+\frac {2 B \left (b x+c x^2\right )^{7/2}}{9 c x^{5/2}} \]
[Out]
________________________________________________________________________________________
Rubi [A]
time = 0.03, antiderivative size = 61, normalized size of antiderivative = 1.00, number of steps
used = 2, number of rules used = 2, integrand size = 24, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.083, Rules used = {808, 662}
\begin {gather*} \frac {2 B \left (b x+c x^2\right )^{7/2}}{9 c x^{5/2}}-\frac {2 \left (b x+c x^2\right )^{7/2} (2 b B-9 A c)}{63 c^2 x^{7/2}} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 662
Rule 808
Rubi steps
\begin {align*} \int \frac {(A+B x) \left (b x+c x^2\right )^{5/2}}{x^{5/2}} \, dx &=\frac {2 B \left (b x+c x^2\right )^{7/2}}{9 c x^{5/2}}+\frac {\left (2 \left (-\frac {5}{2} (-b B+A c)+\frac {7}{2} (-b B+2 A c)\right )\right ) \int \frac {\left (b x+c x^2\right )^{5/2}}{x^{5/2}} \, dx}{9 c}\\ &=-\frac {2 (2 b B-9 A c) \left (b x+c x^2\right )^{7/2}}{63 c^2 x^{7/2}}+\frac {2 B \left (b x+c x^2\right )^{7/2}}{9 c x^{5/2}}\\ \end {align*}
________________________________________________________________________________________
Mathematica [A]
time = 0.03, size = 45, normalized size = 0.74 \begin {gather*} \frac {2 (b+c x) (x (b+c x))^{5/2} (-9 b B+9 A c+7 B (b+c x))}{63 c^2 x^{5/2}} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [A]
time = 0.54, size = 39, normalized size = 0.64
method | result | size |
gosper | \(\frac {2 \left (c x +b \right ) \left (7 B c x +9 A c -2 B b \right ) \left (c \,x^{2}+b x \right )^{\frac {5}{2}}}{63 c^{2} x^{\frac {5}{2}}}\) | \(39\) |
default | \(\frac {2 \sqrt {x \left (c x +b \right )}\, \left (c x +b \right )^{3} \left (7 B c x +9 A c -2 B b \right )}{63 \sqrt {x}\, c^{2}}\) | \(39\) |
risch | \(\frac {2 \left (c x +b \right ) \sqrt {x}\, \left (7 B \,c^{4} x^{4}+9 A \,c^{4} x^{3}+19 B b \,c^{3} x^{3}+27 A b \,c^{3} x^{2}+15 B \,b^{2} c^{2} x^{2}+27 A \,b^{2} c^{2} x +B \,b^{3} c x +9 A \,b^{3} c -2 B \,b^{4}\right )}{63 \sqrt {x \left (c x +b \right )}\, c^{2}}\) | \(104\) |
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [B] Leaf count of result is larger than twice the leaf count of optimal. 230 vs.
\(2 (49) = 98\).
time = 0.30, size = 230, normalized size = 3.77 \begin {gather*} \frac {2 \, {\left (35 \, b^{2} c x^{3} + 35 \, b^{3} x^{2} + {\left (15 \, c^{3} x^{3} + 3 \, b c^{2} x^{2} - 4 \, b^{2} c x + 8 \, b^{3}\right )} x^{2} + 14 \, {\left (3 \, b c^{2} x^{3} + b^{2} c x^{2} - 2 \, b^{3} x\right )} x\right )} \sqrt {c x + b} A}{105 \, c x^{2}} + \frac {2 \, {\left ({\left (35 \, c^{4} x^{4} + 5 \, b c^{3} x^{3} - 6 \, b^{2} c^{2} x^{2} + 8 \, b^{3} c x - 16 \, b^{4}\right )} x^{3} + 6 \, {\left (15 \, b c^{3} x^{4} + 3 \, b^{2} c^{2} x^{3} - 4 \, b^{3} c x^{2} + 8 \, b^{4} x\right )} x^{2} + 21 \, {\left (3 \, b^{2} c^{2} x^{4} + b^{3} c x^{3} - 2 \, b^{4} x^{2}\right )} x\right )} \sqrt {c x + b} B}{315 \, c^{2} x^{3}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [B] Leaf count of result is larger than twice the leaf count of optimal. 100 vs.
\(2 (49) = 98\).
time = 3.57, size = 100, normalized size = 1.64 \begin {gather*} \frac {2 \, {\left (7 \, B c^{4} x^{4} - 2 \, B b^{4} + 9 \, A b^{3} c + {\left (19 \, B b c^{3} + 9 \, A c^{4}\right )} x^{3} + 3 \, {\left (5 \, B b^{2} c^{2} + 9 \, A b c^{3}\right )} x^{2} + {\left (B b^{3} c + 27 \, A b^{2} c^{2}\right )} x\right )} \sqrt {c x^{2} + b x}}{63 \, c^{2} \sqrt {x}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \int \frac {\left (x \left (b + c x\right )\right )^{\frac {5}{2}} \left (A + B x\right )}{x^{\frac {5}{2}}}\, dx \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [B] Leaf count of result is larger than twice the leaf count of optimal. 270 vs.
\(2 (49) = 98\).
time = 1.75, size = 270, normalized size = 4.43 \begin {gather*} \frac {2}{315} \, B c^{2} {\left (\frac {16 \, b^{\frac {9}{2}}}{c^{4}} + \frac {35 \, {\left (c x + b\right )}^{\frac {9}{2}} - 135 \, {\left (c x + b\right )}^{\frac {7}{2}} b + 189 \, {\left (c x + b\right )}^{\frac {5}{2}} b^{2} - 105 \, {\left (c x + b\right )}^{\frac {3}{2}} b^{3}}{c^{4}}\right )} - \frac {4}{105} \, B b c {\left (\frac {8 \, b^{\frac {7}{2}}}{c^{3}} - \frac {15 \, {\left (c x + b\right )}^{\frac {7}{2}} - 42 \, {\left (c x + b\right )}^{\frac {5}{2}} b + 35 \, {\left (c x + b\right )}^{\frac {3}{2}} b^{2}}{c^{3}}\right )} - \frac {2}{105} \, A c^{2} {\left (\frac {8 \, b^{\frac {7}{2}}}{c^{3}} - \frac {15 \, {\left (c x + b\right )}^{\frac {7}{2}} - 42 \, {\left (c x + b\right )}^{\frac {5}{2}} b + 35 \, {\left (c x + b\right )}^{\frac {3}{2}} b^{2}}{c^{3}}\right )} + \frac {2}{15} \, B b^{2} {\left (\frac {2 \, b^{\frac {5}{2}}}{c^{2}} + \frac {3 \, {\left (c x + b\right )}^{\frac {5}{2}} - 5 \, {\left (c x + b\right )}^{\frac {3}{2}} b}{c^{2}}\right )} + \frac {4}{15} \, A b c {\left (\frac {2 \, b^{\frac {5}{2}}}{c^{2}} + \frac {3 \, {\left (c x + b\right )}^{\frac {5}{2}} - 5 \, {\left (c x + b\right )}^{\frac {3}{2}} b}{c^{2}}\right )} + \frac {2}{3} \, A b^{2} {\left (\frac {{\left (c x + b\right )}^{\frac {3}{2}}}{c} - \frac {b^{\frac {3}{2}}}{c}\right )} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Mupad [F]
time = 0.00, size = -1, normalized size = -0.02 \begin {gather*} \int \frac {{\left (c\,x^2+b\,x\right )}^{5/2}\,\left (A+B\,x\right )}{x^{5/2}} \,d x \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________